package com.wmx;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * EnableAspectJAutoProxy(exposeProxy = true)
 * 指示 AOP 框架应将代理公开为 ThreadLocal, 以便通过｛@link.org.springframework.aop.framework.AopContext｝类进行检索，默认是关闭的。
 *
 * @author wangMaoXiong
 */
@SpringBootApplication
@EnableAspectJAutoProxy(exposeProxy = true)
public class JpaTransactionalApplication {

    public static void main(String[] args) {
        SpringApplication.run(JpaTransactionalApplication.class, args);
    }

}
